           package com.java.diagnostics.visualizer.coredisplayers.util;
           
           import java.text.MessageFormat;
           import java.util.MissingResourceException;
           import java.util.ResourceBundle;
           
           public class Messages
           {
             private static final String BUNDLE_NAME = "com.java.diagnostics.visualizer.coredisplayers.util.messages";
             private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle("com.java.diagnostics.visualizer.coredisplayers.util.messages");
           
             public static String getString(String key)
             {
               try
               {
                 return RESOURCE_BUNDLE.getString(key); } catch (MissingResourceException localMissingResourceException) {
               }
               return '!' + key + '!';
             }
           
             public static String getString(String key, Object[] params)
             {
               String message = getString(key);
               String output = MessageFormat.format(message, params);
               return output;
             }
           }

